<template>
    <div id='myLogin'>
        <el-dialog title="登陆"  width="300px" center :visible.sync="isLogin">
            <el-form :model="Login" :rules='rules' status-icon ref="ruleForm" >
                <el-form-item prop="name">
                    <el-inputp refix-icon="el-icon-user-solid" placeholder="请输入账号"></el-inputp>
                </el-form-item>
                <el-form-item prop="pass">
                    <el-input prefix-icon="el-icon-view" type='password' placeholder="请输入密码"></el-input>
                </el-form-item>
                <el-form-item>
                     <el-button size='medium' type="primary" @click="Login" style="width:100%">登陆</el-button>
                </el-form-item>
            </el-form>
        </el-dialog>
    </div>
</template>
<script>

export default {
    name:'myLogin',
    data(){
        return{
            login:false,
            Login: {
                name: "",
                pass: ""
            },
        }
    }
}
</script>
<style scoped>

</style>